#ifndef __LOADEDIMAGE_H__
#define __LOADEDIMAGE_H__

#include "include/IImage.h"

class CLoadedImage : public IImage
{
protected:
	u32 w;
	u32 h;
public:
	CLoadedImage();
	virtual ~CLoadedImage();

	void CopyPixelsFrom(u32 *Where);

	void SetW(u32 nw)		{	w = nw;			}
	void SetH(u32 nh)		{	h = nh;			}

	u32 GetW()				{	return w;		}
	u32 GetH()				{	return h;		}

	virtual IImage *Clone();
	CColor GetPixel(u32 x,u32 y);
};

#endif
